package com.framework.loippi.dto.api.params;


import com.framework.loippi.mybatis.eitity.GenericEntity;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value= "微信绑定的参数", description = "微信绑定的参数")
public class WxParam implements GenericEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4493742680426882158L;

	/** 登录授权的code*/
	@ApiModelProperty(value = "登录授权的code")
	private String code;
	/** 昵称*/
	@ApiModelProperty(value = "昵称")
	private String nickName;
	/** 头像*/
	@ApiModelProperty(value = "头像")
	private String avatarUrl;
	/** openId*/
	@ApiModelProperty(value = "openId")
	private String openId;
	/** 登录类型  1:微信，11:微信unionId，12：微信openid，2:QQ，3:微博*/
	@ApiModelProperty(value = "登录类型  1:微信，11:微信unionId，12：微信openid，2:QQ，3:微博")
	private Integer type;

	@ApiModelProperty(value = "小程序传")
	private String encryptedData;
	@ApiModelProperty(value= "小程序传")
	private String iv;
	/** 手机号码*/
	@ApiModelProperty(value = "手机号码")
	private String phone;

}
